package com.ymttest.database.mongo;

public class MQMessageCompensateBean {

	/**
	 * 主键
	 */
	private String id;

	/**
	 * 状态
	 * 
	 * @see com.ymatou.messagebus.facade.enums.MessageCompensateStatusEnum
	 */
	private Integer status;

	/**
	 * 应用Id
	 */
	private String appid;

	/**
	 * 业务代码
	 */
	private String code;

	/**
	 * 消息Id
	 */
	private String mid;

	/**
	 * 消息体
	 */
	private String body;

	/**
	 * 创建时间
	 */
	private Object createtime;

	/**
	 * 重试过期时间
	 */
	private Object rtimeout;

	/**
	 * 重试次数
	 */
	private Integer retrycount;

	/**
	 * 来源：1-接收站，2-分发站，3-补单站
	 */
	private Integer source;

	/**
	 * 补单状态 JAVA版 0-未补发, 1-补发中, 2-补发成功, 3-补发失败
	 */
	private Integer nstatus;

	/**
	 * 消息UUID
	 */
	private String uuid;
	
	/**
	 * 消费者ID
	 */
	private String cid;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getAppid() {
		return appid;
	}

	public void setAppid(String appid) {
		this.appid = appid;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMid() {
		return mid;
	}

	public void setMid(String mid) {
		this.mid = mid;
	}

	public String getBody() {
		return body;
	}

	public void setBody(String body) {
		this.body = body;
	}

	public Object getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Object createtime) {
		this.createtime = createtime;
	}

	public Object getRtimeout() {
		return rtimeout;
	}

	public void setRtimeout(Object rtimeout) {
		this.rtimeout = rtimeout;
	}

	public Integer getRetrycount() {
		return retrycount;
	}

	public void setRetrycount(Integer retrycount) {
		this.retrycount = retrycount;
	}

	public Integer getSource() {
		return source;
	}

	public void setSource(Integer source) {
		this.source = source;
	}

	public Integer getNstatus() {
		return nstatus;
	}

	public void setNstatus(Integer nstatus) {
		this.nstatus = nstatus;
	}

	public String getUuid() {
		return uuid;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	public String getCid() {
		return cid;
	}

	public void setCid(String cid) {
		this.cid = cid;
	}

	
}
